package io.sage.modules.enterwarehouse.service;

import java.util.List;
import java.util.Map;
import io.sage.modules.enterwarehouse.entity.BReturnRecords;

public interface BReturnRecordsService {
    /**
     * 员工归还工具列表
     * @param params
     * @return
     */
    List<BReturnRecords> selectReturnRecordsList(Map<String, Object> params);
    /**
     * 批量删除
     * @param ids
     * @return
     */
	int deleteBatchIds(Integer[] ids);
	/**
	 * 根据主键id 查询详情
	 * @param id
	 * @return
	 */
	BReturnRecords selectByPrimaryKey(Integer id);
	
	/**
	 * 添加员工归还记录
	 * @param returnRecords
	 * @return
	 */
	int insert(BReturnRecords returnRecords);
	
	/**
	 * 修改员工归还记录
	 * @param returnRecords
	 * @return
	 */
	int updateByPrimaryKeySelective(BReturnRecords returnRecords);

    int batchInsert(Map<String,Object> param);
}
